package com.atguigu.eduservice.client;

import com.atguigu.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author chenyeqing
 * @Date 2022/3/10 22:12
 */
@Component
public class VodFileDegradeFeignClient implements VodClient {
    /**
     * 删除视频的方法
     *
     * @param videoId
     * @return
     */
    @Override
    public R deleteAliyunVideo(String videoId) {
        return R.error().message("删除视频出错了");
    }

    @Override
    public R deleteBatchAliyunVideo(List<String> videoList) {
        return R.error().message("删除多个视频出错了");
    }
}
